package org.xg.study.pd.test;

import org.junit.Test;
import org.xg.study.pd.CacheService;
import org.xg.study.pd.impl.CacheServiceImpl;

/**
 * @author CMG
 * @version 1.0
 * @cLassName ApiTest2_01
 * @description
 * @date 2021/9/9 13:41
 **/
public class ApiTest2_01 {

    @Test
    public void test_cacheService() {
        CacheService cacheService = new CacheServiceImpl();
        cacheService.set("user_name_01", "xg", 1);
        String value = cacheService.get("user_name_01", 1);
        System.out.println("测试结果：" + value);
    }
}
